import request from '@/utils/request'

// 查询月度店铺销售列表
export function listBiShopSaleMonthly(query) {
  return request({
    url: '/sale/BiShopSaleMonthly/list',
    method: 'get',
    params: query
  })
}
// 查询月度店铺销售列表
export function synData(query) {
  return request({
    url: '/sale/BiShopSaleMonthly/synData',
    method: 'get',
    params: query
  })
}
// 查询月度店铺销售详细
export function getBiShopSaleMonthly(id) {
  return request({
    url: '/sale/BiShopSaleMonthly/' + id,
    method: 'get'
  })
}

// 新增月度店铺销售
export function addBiShopSaleMonthly(data) {
  return request({
    url: '/sale/BiShopSaleMonthly',
    method: 'post',
    data: data
  })
}

// 修改月度店铺销售
export function updateBiShopSaleMonthly(data) {
  return request({
    url: '/sale/BiShopSaleMonthly',
    method: 'put',
    data: data
  })
}

// 删除月度店铺销售
export function delBiShopSaleMonthly(id) {
  return request({
    url: '/sale/BiShopSaleMonthly/' + id,
    method: 'delete'
  })
}
